<?php

/**
 * @name: HOTN Sponsor
 * @author: HammerOnTheNail
 * @link: http://code.google.com/p/hotnsponsor/
 */

if (!defined('e107_INIT')) { exit; }
global $tp;
$hotn_sponsor_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__);

/*
SC_BEGIN HS_IMAGE
return "<img src='".HOTN_SPONSOR_IMAGE."' align='center' />";
SC_END

SC_BEGIN HS_TITLE
return HOTN_SPONSOR_MENU_TITLE;
SC_END

SC_BEGIN HS_BAR
global $HOTN_SPONSOR_PERCENT, $_HOTN_SPONSOR_OPTIONS;
return HOTN_SPONSOR_MENU_MONEY_TEXT."<div class='hotn_sponsor_bar' style='width:100px; height:10px; background-color: #000000; border: 1px solid #000000; margin:0 auto;'>
		<div style='width: ".$HOTN_SPONSOR_PERCENT."px; height:10px; background-color: #ffffff;'>
		</div>
	</div>";
SC_END

SC_BEGIN HS_MONEY
global $HOTN_SPONSOR_MONEY;
return $HOTN_SPONSOR_MONEY.HOTN_SPONSOR_MENU_MONEY;
SC_END

SC_BEGIN HS_LINK
return HOTN_SPONSOR_MENU_MORE."<a href='".e_PLUGIN."hotn_sponsor/hotn_sponsor_more.php'>".HOTN_SPONSOR_MENU_MORE_LINK."</a>";
SC_END
*/
?>